public class number {
    public static void main(String[] args) {
        int[] numbers ={70,80,31,37,10,1,48,60,33,80};
        int temp;
        for (int i=0;i<=9;i++){
            for (int j=i;j<9;j++){
                if(numbers[i]>numbers[j]){
                    temp=numbers[i];
                    numbers[i]=numbers[j];
                    numbers[j]=temp;


                }
            }
        }
        for (int number : numbers){
            System.out.printf("%d ",number);
        }
    }
}
